//---------------------------------------------------------------------------

#ifndef VVOD_OPLATH
#define VVOD_OPLATH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include <DB.hpp>
#include "cxButtons.hpp"
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include <ActnList.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrVVOD_OPLAT : public TForm
{
__published:	// IDE-managed Components
	TPanel *pUPR;
	TcxButton *btPOISK;
	TActionList *ActionList1;
	TAction *POISK;
	TcxButton *btSave;
	TAction *SAVE;
	TPanel *pMAIN;
	TcxGroupBox *gbMain;
	TLabel *Label1;
	TLabel *Label2;
	TDBText *labFIO;
	TLabel *Label3;
	TDBText *labADRES;
	TLabel *Label4;
	TDBText *labNOM_DOG;
	TLabel *Label5;
	TDBText *labKOL_JIL;
	TLabel *Label6;
	TDBText *labLG_JIL;
	TLabel *Label7;
	TDBText *labDAT_P_OPL;
	TLabel *Label9;
	TDBText *labDOLG;
	TDBEdit *dbeNOM;
	TPanel *pPO_SCH;
	TcxGroupBox *gbPO_TRF;
	TLabel *Label8;
	TLabel *Label10;
	TcxDateEdit *dtpDAT_OPL;
	TEdit *edSUM;
	TLabel *Label11;
	TDBText *labTARIF;
	TLabel *Label19;
	TDBText *labPLIT;
	TLabel *Label20;
	TDBText *labKOL_KOTL;
	TLabel *Label21;
	TDBText *labKOL_BPG;
	TcxGroupBox *gbPO_SCH;
	TLabel *Label12;
	TLabel *Label13;
	TLabel *Label14;
	TLabel *Label15;
	TLabel *Label16;
	TEdit *edKON_POK;
	TEdit *edRAZN;
	TEdit *edSUM_SCH;
	TDBEdit *dbePOK_NATH;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall POISKExecute(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall SAVEExecute(TObject *Sender);
	void __fastcall edSUMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall edKON_POKKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall edSUM_SCHKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
public:		// User declarations
int NOM,PRIZ,ZIMA;
String MES,GOD,MES_NATH,MES_KON;
	__fastcall TfrVVOD_OPLAT(TComponent* Owner);
	void __fastcall TfrVVOD_OPLAT::Obnovi();
	};
//---------------------------------------------------------------------------
extern PACKAGE TfrVVOD_OPLAT *frVVOD_OPLAT;
//---------------------------------------------------------------------------
#endif
